<div class="row" style="margin-top: 50px;">
    <div class="col-xs-12">
        <form class="form-horizontal" name="RuleForm" g-validator="Rule_Update"   data-invalid-msg="tooltipMessenger">
            <input type="hidden" name="id"  ng-model="rule.id"/>
            <input type="hidden" name="ruleAssemblyId"  ng-model="rule.ruleAssemblyId"/>
            <div class="form-group">
                <label  class="col-xs-2 control-label">规则名:</label>
                <div class="col-xs-5">
                    <input type="text" class="form-control"name="name" placeholder="规则名" ng-model="rule.name">
                </div>
            </div>
            <div class="form-group">
                <label  class="col-xs-2 control-label">描述:</label>
                <div class="col-xs-5">
                    <textarea name="remark" cols="" class="form-control" rows="3" ng-model="rule.remark"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-2 control-label">状态:</label>
                <div class="col-xs-5">
                    <g-dropdown placeholder="请选择" source="[{roleId: 0,roleName: '启用'},{roleId: 1,roleName: '停用'}];"
                                ng-model="rule.ruleStatus" display-express="roleName" value-prop="roleId">
                    </g-dropdown>
                </div>
            </div>
            <div class="col-xs-offset-2 col-xs-10">
                <button type="button" class="engine-btn-danger" ng-click="reset()" pg-per="{{packageId}}|1"><i class="icon-engine-refresh"></i>重置</button>
                <button type="button" class="engine-btn-default" ng-click="save()" pg-per="{{packageId}}|1" pg-sta="{{status}}|0"><i class="icon-engine-preservation"></i>保存</button>
            </div>
        </form>
    </div>
</div>


